package com.cubeofnine.sugar.activity.export_contact;

import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;

public class OnClickViewPhoneContactDetail implements OnClickListener {
	private Context context;
	private String id;
	private String name;

	public OnClickViewPhoneContactDetail(Context context, String id, String name) {
		super();
		this.context = context;
		this.id = id;
		this.name = name;
	}

	public String getClassName() {
		return OnClickViewPhoneContactDetail.class.getName();
	}

	public void onClick(View v) {
		Log.i(getClassName(), "onClick() : Start");

		((ExportContactsListActivity) context).gotoPhoneContactDetail(v, id,
				name);

		Log.i(getClassName(), "onClick() : End");
	}

}
